const Mock = require('mockjs')
Mock.mock('/api/itemList', 'post', {
  code: 200,
  mag: 'success',
  'data|10-20': [
    {
      'id|+1': 1,
      name: '@ctitle',
      'price|0-1000': 0,
      'sale|0-1000': 0,
      'cateId|1-100': 1,
      desc: '@cparagraph',
      thumb: '@image("100x100", "@color","牛夫人")',
      'onsale|0-1': 0,
      'createAt|1111111111111-9999999999999': 0
    }
  ]
})
